package com.hzhr.iot.core.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "Exception", description = "异常模型")
public class ResponseExceptionDto {
    @ApiModelProperty(value = "异常代码", required = true)
    private Integer code;
    @ApiModelProperty(value = "异常类型", required = true)
    private String type;
    @ApiModelProperty(value = "异常业务")
    private String business;
    @ApiModelProperty(value = "异常描述")
    private String des;
    @ApiModelProperty(value = "调试信息")
    private String debug;
    @ApiModelProperty(value = "交易序列号")
    private String transactionId;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBusiness() {
        return business;
    }

    public void setBusiness(String business) {
        this.business = business;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getDebug() {
        return debug;
    }

    public void setDebug(String debug) {
        this.debug = debug;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }
}
